package cn.yoyo.service;

import cn.yoyo.entity.Blog;
import cn.yoyo.entity.BlogContent;
import cn.yoyo.entity.Favourite;
import cn.yoyo.entity.Like;

import java.util.List;

public interface BlogService {
    public List<Blog> findAllCanSee();
    public List<Blog> findAllCantSee();
    public List<Blog> findAll();
    public Blog findById(String blogId);
    public List<Like> findMyLikes();
    public List<Favourite> findMyFavourites();
    public List<Blog> findByType(String typeId);
    public void update(BlogContent blogContent);
    public List<Blog> findMyBlogs(String userId);
    public void add(BlogContent blogContent);
    public void isPass(String blogId);
    public void noPass(String blogId);
    public void delete(String blogId);
}
